package com.example.swagger.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/swagger")
@Tag(name = "用户表管理", description = "用户表管理")
public class SwaggerController {

    @Operation(summary = "hello", description = "测试")
    @GetMapping("/hello")
    public String hello(String data) {
        return "hello ," + data;
    }
}
